<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单标签</title>
</head>
<body>
<form action="https://www.baidu.com/">
    用户名:<input type="text" name="username" maxlength="5" placeholder="请输入用户名" value="丁真">
    <br>
    密码:<input type="password" name="password" placeholder="请输入密码">
    <br>
    <!--单选框-->
    性别:<input type="radio" name="gender" value="女">女
        <input type="radio" name="gender" value="男">男
    <br>
    <!--多选框-->
    兴趣爱好:<input type="checkbox" name="hobby" value="cy">抽烟
            <input type="checkbox" name="hobby" value="hj">喝酒
            <input type="checkbox" name="hobby" value="tt">烫头
    <br>
    <!--日期-->
    出生日期:<input type="date" name="birthday">
    <br>
    <!--日期-->
    靓照:<input type="file" name="pic">
    <br>
    <!--选择框-->
    省份:<select name="city">
        <option value="bj">北京</option>
        <option value="nj">南京</option>
        <option value="cd">成都</option>
        <option value="mms" selected>妈妈省</option>
    </select>
    <br>
    <!--按钮-->
    <input type="submit" value="注册" formtarget="_blank">
    <input type="reset"> <!--重置-->
    <input type="button" value="自定义按钮">
    <br>

    <!--button按钮-->
    <button type="submit">注册</button>
    <button type="reset">重置</button>
    <button type="button">自定义按钮</button>
</form>
</body>
</html>